package com.iris.live.services.models;

/**
 * Created by lusong on 2016/11/10
 */
public class ResultData {

    // 状态码 比如 "true", "false"
    private String result;
    // 错误中文描述 比如 "正常"，"日期格式不正确"， "缺少permit参数"
    private String message;
    // 返回数据
    private PageData pageData;

    public ResultData() {
        this.result = "true";
    }

    public ResultData(String result, String message, PageData pageData) {
        this.result = result;
        this.message = message;
        this.pageData = pageData;
    }

    public ResultData(String result, String message) {
        this.result = result;
        this.message = message;
    }


    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public PageData getPageData() {
        return pageData;
    }

    public void setPageData(PageData pageData) {
        this.pageData = pageData;
    }

}
